import { ApiProperty } from '@nestjs/swagger';

export class RoomDto {
  @ApiProperty({ title: 'room id' })
  roomId: string;
  @ApiProperty({ title: '类型', required: false })
  type: string;
  @ApiProperty({ title: '是否鉴权', required: false })
  isAsk: string;
  @ApiProperty({ title: '名字', required: false })
  roomName: string;
  @ApiProperty({ title: '管理员id', required: false })
  ownerId: string;
  @ApiProperty({ title: '用户id', required: false })
  userId: string;
}
